home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 23 web forms and controls / firstwebforms / htmlcontrolsform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-17  |  1.2 KB  |  28 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="HtmlControlsForm.aspx.vb" Inherits="FirstWebForms.HtmlControlsForm" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>HtmlControlsForm</title>
  6.         <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
  7.         <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
  8.         <meta name="vs_defaultClientScript" content="JavaScript">
  9.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
  13.             <H1>HtmlFile Control Demo</H1>
  14.             <P>This page demonstrates how you can upload a file by using the HtmlFile control 
  15.                 and access to the properties of the uploaded file from inside the page running 
  16.                 on the server.</P>
  17.             <P>Select a file:</P>
  18.             <P>
  19.                 <INPUT id="File1" type="file" name="File1" runat="server"></P>
  20.             <P>
  21.                 <INPUT id="Button1" type="button" value="Submit" name="Button1" runat="server"></P>
  22.             <DIV id="DIV1" style="DISPLAY: inline; WIDTH: 406px; HEIGHT: 95px" runat="server" ms_positioning="FlowLayout">Label</DIV>
  23.             <P> </P>
  24.             <P> </P>
  25.         </form>
  26.     </body>
  27. </HTML>
  28.